var windowName = "selectStyle";
$(function () {

    var OrderList = new List();
    var Page = createVM("#Page", {
        //页面数据
        id: 0,
        pics: []
    }, {
        //页面方法

        /**
         * 生命周期函数--监听页面加载
         */
        onLoad: function (options) {
            let id = getUrlData("id");
            this.id = id
            // getOrderInfo(this)
            getOrderInfo(this)

        }
        , goto: function (url) {

            goto("/pic/Page/Wap/"+ url+".html?id=" + this.id)
        }

    })


    Page.onLoad()

})



function getOrderInfo(_this) {
    let id = _this.id
    apiGet("/po/order/create/99", {id}, function (res) {
        console.log(res)
        let pics = [res.d.backPic]

        _this.setData({pics})
    })
}
